package com.ls.service;


import com.ls.entity.Department;
import com.ls.entity.JsonResult;

import java.sql.Date;
import java.util.List;


public interface IDepartService {
	public JsonResult<List<Department>> selectAll(int pageId, int num);
	public JsonResult<List<Department>> selectAllDepartment();
	public JsonResult<Object> insertDept(String dept_name, Date create_time);
	public JsonResult<Object> deleteByIdDept(String[] ids);
	public JsonResult<List<Department>> findName(String name,int pageId,int num);
	public JsonResult<Department> showDp(int dept_id);
	public JsonResult<Object> updateDp(Department department);

}
